package com.unicom.network;

import java.io.IOException;

import org.apache.http.client.ClientProtocolException;
import org.json.JSONException;

import com.unicom.request.GetCommentRequest;
import com.unicom.response.GetCommentResponse;

public interface IStoryProtocol {
	
//	public final String URL ="http://192.168.1.43/BMS/01.CRM-Server/api/index" ;
//	public final String URL ="http://192.168.1.43/BMS/01.CRM-Server/api/index" ;
public final String URL ="http://bms.xakhohang.vn/api/index" ;
//	public final String URL ="http://192.168.1.170/api/index" ;
	
	public final int STATUS_CODE_GENERIC_FAIL_CONECTTION = 5;
	public final int STATUS_CODE_OK = 1;
	
	public final String METHOD_GET_COMMENT = "getAndroidComments";

	GetCommentResponse getComment(GetCommentRequest request)throws JSONException, ClientProtocolException, IOException;
	//chua link URL
//	cac ten phuong thuc
}
